all files formatted successfully#1788
all files formatted successfully#1788karanupd12 wants to merge 1 commit intoTheAlgorithms:masterfrom karanupd12:add-prefix-sum-algorithm
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1788 +/- ##
==========================================
+ Coverage 85.87% 85.90% +0.02%
==========================================
Files 377 378 +1
Lines 19720 19757 +37
Branches 3005 3016 +11
==========================================
+ Hits 16935 16972 +37
Misses 2785 2785 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
I noticed there's a spelling error in an existing file (not related to my changes), but I've kept my PR focused solely on the BasicPrefixSum implementation to avoid scope creep. My changes are limited to:
The spelling error appears to be in a pre-existing file and is unrelated to the prefix sum algorithm implementation. I can create a separate issue/PR to address that spelling error if needed, but wanted to keep this contribution focused on the specific issue #1783. Thanks for reviewing! 🙏 |
Fixes #1783
Description
Added BasicPrefixSum algorithm implementation with comprehensive test suite.
Changes
PrefixSum/BasicPrefixSum.jswith input validationPrefixSum/BasicPrefixSum.test.jswith edge case coverageTesting
Implementation includes tests for:
Code Quality